phpDocumentor Web Commons
[ class tree: Web Commons ] [ index: Web Commons ] [ all elements ]

Class: AbstractContext

Source Location: /environment.php

Class AbstractContext

Class Overview

Offers read-only properties related to application context.

This class offers read-only properties named after the existing createXxx methods. A "createConfig" method would offer a "config" attribute. These "createXxx" methods will be called only once, so that each represent a kind of singleton. This is useful for providing a global access to main application resources like configuration, request objects and such. Some methods are provided as a default behaviour.

Located in /environment.php [line 23]



		
				Author(s):
		
API Tags:
Abstract:  

Information Tags:
Since:  0.1

Methods

[ Top ]
Method Summary
mixed   __get()   Returns the object/scalar/array/whatever created by the method "createXxx" where "Xxx" = ucfirst($attr). If no such method exists, a ContextException is thrown.

[ Top ]
Methods
__get  [line 40]

  mixed __get( string $attr  )

Returns the object/scalar/array/whatever created by the method "createXxx" where "Xxx" = ucfirst($attr). If no such method exists, a ContextException is thrown.

Parameters:
string   $attr: 

API Tags:
Access:  public

Information Tags:
Since:  0.1

[ Top ]

Documentation generated on Fri, 16 Jul 2010 00:48:39 +0200 by phpDocumentor 1.4.3